package cn.kgc.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.io.Serializable;

/**
* 描述：实体类
* @author 
* @date 2018/03/05
*/
public class Active implements Serializable {

   /***/
    private Integer id;
   /***/
    private String activename;
   /***/
   @JsonFormat(pattern = "yyyy-MM-dd")
    private Date starttime;
   /***/
    private String activedescription;
   /***/
    private Integer activenumber;
   /***/
   @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endtime;
   /***/
    private Double activemoney;
   /***/
    private String activestate;

    public Active(){}
    
    public Active(Integer id,String activename,Date starttime,String activedescription,Integer activenumber,Date endtime,Double activemoney,String activestate){
        this.id = id;
        this.activename = activename;
        this.starttime = starttime;
        this.activedescription = activedescription;
        this.activenumber = activenumber;
        this.endtime = endtime;
        this.activemoney = activemoney;
        this.activestate = activestate;
    }

   /**获取属性的值*/
    public Integer getId() {
        return this.id;
    }
   /**设置属性的值*/
    public void setId(Integer id) {
        this.id = id;
    }
   /**获取属性的值*/
    public String getActivename() {
        return this.activename;
    }
   /**设置属性的值*/
    public void setActivename(String activename) {
        this.activename = activename;
    }
   /**获取属性的值*/
    public Date getStarttime() {
        return this.starttime;
    }
   /**设置属性的值*/
    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }
   /**获取属性的值*/
    public String getActivedescription() {
        return this.activedescription;
    }
   /**设置属性的值*/
    public void setActivedescription(String activedescription) {
        this.activedescription = activedescription;
    }
   /**获取属性的值*/
    public Integer getActivenumber() {
        return this.activenumber;
    }
   /**设置属性的值*/
    public void setActivenumber(Integer activenumber) {
        this.activenumber = activenumber;
    }
   /**获取属性的值*/
    public Date getEndtime() {
        return this.endtime;
    }
   /**设置属性的值*/
    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }
   /**获取属性的值*/
    public Double getActivemoney() {
        return this.activemoney;
    }
   /**设置属性的值*/
    public void setActivemoney(Double activemoney) {
        this.activemoney = activemoney;
    }
   /**获取属性的值*/
    public String getActivestate() {
        return this.activestate;
    }
   /**设置属性的值*/
    public void setActivestate(String activestate) {
        this.activestate = activestate;
    }
}
